package com.tanhua.dubbo.server.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.ArrayList;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Document(collection = "soul")
public class Soul implements java.io.Serializable {

    private ObjectId id;//问卷编号

    private Long userId;//用户id

    private String name;//问卷名称
    private String cover;//封面
    private String level;//级别
    private Integer star;//星别
    private List<String> questionIds = new ArrayList<>();//试题
    private Integer isLock;//是否锁住（0解锁，1锁住）
    private String reportId;//最新报告id




}
